package org.goodsmanager;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 商品管理系统主启动类
 *
 * @author Goods Manager System
 * @version 1.0.0
 */
@SpringBootApplication
@EnableTransactionManagement
@EnableCaching
public class GoodsManagementApplication {

    public static void main(String[] args) {
        SpringApplication.run(GoodsManagementApplication.class, args);
        System.out.println("\n========================================");
        System.out.println("商品管理系统启动成功！");
        System.out.println("访问地址: http://localhost:8080");
        System.out.println("API文档: http://localhost:8080/doc");
        System.out.println("数据库监控: http://localhost:8080/druid");
        System.out.println("========================================\n");
    }
}